import Vue from 'vue';
import MpvueRouterPatch from '@/utils/mpvue-router-patch';
import App from './App';
import fly from './utils/http';
import mixins from './utils/mixins';
import '@/styles/weui.less';
import '@/styles/fonts/iconfont.css';
import store from '@/store';

Vue.use(MpvueRouterPatch);

Vue.config.productionTip = false;
App.mpType = 'app';
Vue.use(fly);
Vue.prototype.$store = store;

Vue.mixin(mixins);

const app = new Vue(App);
app.$mount();
